package com.wh.base.sys.role.mapper;

import com.wh.base.sys.role.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
/**
 * <p>
 * 系统角色 Mapper 接口
 * </p>
 *
 * @author WangHong
 * @since 2022-04-20
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
	
	List<Role> findRoleByUserId(Long userId);
	
	List<String> findRoleFlagByUserId(Long userId);
	
	List<String> findAuthSignByRoleId(Long roleId);

}
